import apibase from "@/api/apiBase";
import axios from "axios";

//理赔列表
export const $claimList = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/claim/list',
    data: params,
    instance,
  });
}

//理赔详情
export const $claimDetail = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/claim/detail',
    data: params,
    instance,
  });
}

//理赔资料
export const $claimGetTempFileList = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/claim/getTempFileList',
    data: params,
    instance,
  });
}

//单证打包下载
export const $claimDownloadFile = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.post({
    url: '/female/claim/downloadFile',
    data: params,
    instance,
  });
}

//理赔审核
export const $claimDoCheck = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.post({
    url: '/female/claim/doCheck',
    data: params,
    instance,
  });
}

//用户列表
export const $claimGetUserList = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/claim/getUserList',
    data: params,
    instance,
  });
}